package com.ytclub.auth.domain.convent;

import com.ytclub.auth.domain.entity.AuthRoleBO;
import com.ytclub.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色BO转换拦截器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 角色BO转换器
 */
@Mapper
public interface AuthRoleBOConverter {
    AuthRoleBOConverter INSTANCE = Mappers.getMapper(AuthRoleBOConverter.class);

    AuthRole convertBoToEntity(AuthRoleBO authRoleBO);


}
